package tree.stm;

import tree.ExpList;
import tree.exp.Exp;

public class EXP extends Stm {
          
    /***/
    public Exp exp; 
    /***/
    public EXP(Exp e) {
            exp=e;
    }
    
    /**
     * 
     * */
    public ExpList kids() {
            return new ExpList(exp,null);
    }
    
    /**
     * 
     * */
    public Stm build(ExpList kids) {
            return new EXP(kids.head);
    }

    /**
     * 
     * */
    public String print() {
            return exp.print();
    }
}